<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/jsp/manage/common/taglibs.jsp" %>
<div>
    <form id="manage_infraredinduction_editform" action="/manage/lora/infraredinduction/${action=='create'?'saveJson':'updateJson'}.html" method="post">
		<@jodd.form bean="infraredinduction" scope="request">
        <input name="id" type="hidden" />
        <table class="tableForm" width="100%">
			<tr>
				<th width="25%">equipmentId：</th>
				<td><input type="text" name="equipmentid" placeholder="请输入equipmentId..." class="easyui-validatebox" data-options="validType:['length[1,36]']"/></td>
			</tr>					
			<tr>
				<th>dataString：</th>
				<td><textarea rows="3" cols="40" placeholder="请输入dataString..." name="datastring" class="easyui-validatebox" data-options="validType:['length[1,128]']"></textarea></td>
			</tr>					
			<tr>
				<th>设备状态：</th>
				<td><select name="state" editable="false" panelHeight="auto" class="easyui-combobox" style="min-width: 235px;" >
					<#list allStates as k,v><option value="${k}">${v}</option></#list>
				</select></td>
			</tr>					
			<tr>
				<th>电池状态：</th>
				<td><select name="batterystate" editable="false" panelHeight="auto" class="easyui-combobox" style="min-width: 235px;" >
					<#list allBatterystates as k,v><option value="${k}">${v}</option></#list>
				</select></td>
			</tr>					
			<tr>
				<th>防拆状态：</th>
				<td><select name="tamperstate" editable="false" panelHeight="auto" class="easyui-combobox" style="min-width: 235px;" >
					<#list allTamperstates as k,v><option value="${k}">${v}</option></#list>
				</select></td>
			</tr>					
			<tr>
				<th>按键状态：</th>
				<td><select name="keystate" editable="false" panelHeight="auto" class="easyui-combobox" style="min-width: 235px;" >
					<#list allKeystates as k,v><option value="${k}">${v}</option></#list>
				</select></td>
			</tr>					
			<tr>
				<th>电压：</th>
				<td><input type="text" name="voltage" placeholder="请输入电压..." class="easyui-numberbox" style="height: 30px;width: 260px;line-height: 1.3em;" data-options="validType:['number[0,999999999]']"/></td>
			</tr>					
        </table>
      </@jodd.form>
    </form>
</div>
